package com.weme.message.viewmode

import com.weme.common.base.BaseViewModel
import com.weme.common.network.NetWorkUrl
import dev.kratos.api.user_server.v1.GetUserInfoRequest

class MessageViewMode : BaseViewModel() {

    fun getMseeageList(req: GetUserInfoRequest) {
        val reqByte = req.toByteArray()
        sendNetworkRequest(reqByte, NetWorkUrl.GetUserInfo)

    }

    fun addMseeageList(req: GetUserInfoRequest) {
        val reqByte = req.toByteArray()
        sendNetworkRequest(reqByte, NetWorkUrl.AddUserInfo)
    }



}